package com.yanyeori.framework.security.configprop;

import lombok.Getter;
import lombok.Setter;

/**
 * token签名配置
 *
 * @author chenkuan 2021/6/29
 */
@Getter
@Setter
public class SignProps {
    //是否启用token签名验证(默认false)
    private boolean enableTokenSign = false;
    //token签名密钥
    private String signSecret;
    //签名有效时间(秒，默认5分钟)
    private long signExpiration = 60L * 5;
}
